package com.cn.wanxi.service.impl;

import com.cn.wanxi.dao.CompanyFindAllDao;
import com.cn.wanxi.dao.impl.CompanyFindAllImpl;
import com.cn.wanxi.model.CompanyModel;
import com.cn.wanxi.model.ResultModel;
import com.cn.wanxi.service.CompanyFindAllService;
import redis.clients.jedis.Jedis;

public class CompanyFindAllServiceImpl implements CompanyFindAllService {
    @Override
    public ResultModel findAll(CompanyModel companyModel) {
        ResultModel resultModel = new ResultModel();
        CompanyFindAllDao companyFindAllDao = new CompanyFindAllImpl();
        CompanyModel model = companyFindAllDao.findCompany();


        resultModel.setData(model);
        return resultModel;
    }

    @Override
    public ResultModel add(CompanyModel companyModel) {
        return null;
    }

    @Override
    public ResultModel findById(CompanyModel companyModel) {
        return null;
    }

    @Override
    public ResultModel update(CompanyModel companyModel) {
        return null;
    }

    @Override
    public ResultModel delete(CompanyModel companyModel) {
        return null;
    }

    @Override
    public ResultModel getCount(CompanyModel companyModel) {
        return null;
    }
}
